package com.hetang.maijiayun.adaptertools.b2cinterface.youzan.request;
import java.util.HashMap;
/**
 * 获取仓库中的商品列表
 * @author wcl
 *
 */
public class TradesSoldGetRequest extends Request {
    
    private String start_created;//   Date    否   2014-01-01 00:00:00     交易创建开始时间。查询在该时间之后（包含该时间）创建的交易，为空则不限制
    private String end_created;// Date    否   2014-01-05 00:00:00     交易创建结束时间。查询在该时间之前创建的交易，为空则不限制
    private String start_update;//    Date    否   2014-01-01 00:00:00     交易状态更新的开始时间。查询在该时间之后（包含该时间）交易状态更新过的交易，为空则不限制
    private String end_update;//  Date    否   2014-01-05 00:00:00     交易状态更新的结束时间。查询在该时间之前交易状态更新过的交易，为空则不限制
    private String page_no;//  Number  否   2   1   页码。取值范围：大于零的整数；默认值：1
    private String page_size;//    Number  否   20  40  每页条数。取值范围：大于零的整数；默认值：40；最大值：100
    private String use_has_next;
    private String fields;
	@Override
	public String getApiMethodName() {
		return "kdt.trades.sold.get";
	}

    @Override
    public HashMap<String, String> getParams() {
       HashMap<String,String> params=new HashMap<String, String>();
       params.put("start_created", start_created);
       params.put("end_created", end_created);
       params.put("start_update", start_update);
       params.put("end_update", end_update);
       params.put("page_no", page_no);
       params.put("page_size", page_size);
       params.put("use_has_next", use_has_next);
       params.put("fields", fields);
       return params;
    }

    public String getStart_created() {
        return start_created;
    }

    public void setStart_created(String start_created) {
        this.start_created = start_created;
    }

    public String getEnd_created() {
        return end_created;
    }

    public void setEnd_created(String end_created) {
        this.end_created = end_created;
    }

    public String getStart_update() {
        return start_update;
    }

    public void setStart_update(String start_update) {
        this.start_update = start_update;
    }

    public String getEnd_update() {
        return end_update;
    }

    public void setEnd_update(String end_update) {
        this.end_update = end_update;
    }

    public String getPage_no() {
        return page_no;
    }

    public void setPage_no(String page_no) {
        this.page_no = page_no;
    }

    public String getPage_size() {
        return page_size;
    }

    public void setPage_size(String page_size) {
        this.page_size = page_size;
    }

    public String getUse_has_next() {
        return use_has_next;
    }

    public void setUse_has_next(String use_has_next) {
        this.use_has_next = use_has_next;
    }

    public String getFields() {
        return fields;
    }

    public void setFields(String fields) {
        this.fields = fields;
    }



}
